package com.gyyx.transfer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gyyx.transfer.dao.UserMysql2Mapper;
import com.gyyx.transfer.po.UserMysql2;
import com.gyyx.transfer.service.ImportService;
import com.gyyx.transfer.support.DataSource;

@Service
public class ImportServiceImpl implements ImportService {
	@Autowired
	private UserMysql2Mapper userMysql2Mapper;

	@Override
	@DataSource("dataSource2")
	public int saveUser(UserMysql2 userMysql2) {
 		int count = userMysql2Mapper.insertSelective(userMysql2);
		return count;
	}
}
